﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BioModel;
using System.ServiceModel;

namespace BioDAL
{
    [ServiceContract]
    public interface IBetalingDAL
    {
        void OpenConnection(string connectionString);
        void CloseConnection();

        #region Betaling
        int InsertBetaling(DateTime betalingsDato, bool betalingsStatus);
        void EditBetaling(int betalingsId, DateTime betalingsDato, bool betalingsStatus);
        List<Betaling> AlleBetalinger();
        Betaling GetEnBetaling(int betalingsId);
        #endregion
    }
}
